package org.example;

/**
 * @author sunshuai
 * @date 2022/4/15 8:48
 * @description:
 */
public class RGB {

    int red;
    int green;
    int blue;

    public int getRed() {
        return red;
    }

    public void setRed(int red) {
        this.red = red;
    }

    public int getGreen() {
        return green;
    }

    public void setGreen(int green) {
        this.green = green;
    }

    public int getBlue() {
        return blue;
    }

    public void setBlue(int blue) {
        this.blue = blue;
    }

    public RGB(){ }

    public RGB(int red, int green, int blue) {
        this.red = red;
        this.blue = blue;
        this.green = green;
    }

    public String toString() {
        return "RGB {" + red + ", " + green + ", " + blue + "}";
    }

}
